package net.esj.basic.utils.clone;


public abstract class TransactionEntity extends CloneEntity {

	private TransactionEntity rollback;
	
	public synchronized TransactionEntity rollback(){
		return rollback;
	}
	
	public synchronized void commit() throws CloneNotSupportedException{
		rollback = (TransactionEntity) clone();
	}
}
